#!/usr/bin/make -f

libname = gulp-help
node-pkgname = node-$(libname)
node-destdir ?= /usr/lib/nodejs
js-destdir ?= $(node-destdir)/$(libname)
deb-js-destdir ?= debian/$(node-pkgname)$(js-destdir)
node-destexample ?= usr/share/doc/$(node-pkgname)/examples
deb-node-destexample ?= debian/$(node-pkgname)/$(node-destexample)

override_dh_auto_build:
	mkdir -p $(deb-js-destdir) 
	mkdir -p $(deb-node-destexample)

	cp -r  license  package.json  readme.md index.js  $(deb-js-destdir)
	cp -r lib $(deb-js-destdir)
	cp -r examples/* $(deb-node-destexample)

override_dh_auto_test:
	mocha test.js

%:
	dh $@

# override_dh_testroot:

override_dh_prep:

